package javax.microedition.io;

import java.io.IOException;

public interface SocketConnection extends StreamConnection {
  public static final byte DELAY = 0;
  
  public static final byte LINGER = 1;
  
  public static final byte KEEPALIVE = 2;
  
  public static final byte RCVBUF = 3;
  
  public static final byte SNDBUF = 4;
  
  int getLocalPort() throws IOException;
  
  int getPort() throws IOException;
  
  int getSocketOption(byte paramByte) throws IOException;
  
  String getAddress() throws IOException;
  
  String getLocalAddress() throws IOException;
  
  void setSocketOption(byte paramByte, int paramInt) throws IOException;
}


/* Location:              C:\Java\rt\javax\microedition\midp_2.1.jar!\javax\microedition\io\SocketConnection.class
 * Java compiler version: 3 (47.0)
 * JD-Core Version:       1.1.3
 */